Setting Up the Diagnostics
Logging diagnostic data is switched off by default. To start collecting data for the channel communication diagnostics, you need to set up the logging options in the channel configuration.
The BACnet point manager keeps statistics based on the communication data. In the channel settings, you can enable displaying the statistics and allow other clients in GENESIS to subscribe to the individual statistic points.
You can view the statistics in the Data Browser in Workbench or GraphWorX or in the Data Explorer stand-alone tool. Learn more
To enable and set up logging and statistics of a BACnet channel:
- Open Workbench and in Project Explorer, expand your project > Data Connectivity > BACnet > Channels.
-
On the Diagnostics tab in the Logging section, select the Log Level from the drop-down list.
- None: Logs no data (the default value).
- Error: Logs errors only.
- Info: Logs errors and information messages, such as notifications about startups or received alarms.
- Warning: Logs all the message types above plus warnings (such as timeouts).
- Network: Adds the network traffic information to all the message types above.
- Debug: Logs detailed data that can be used for detecting and fixing bugs.
The Network and Debug levels might consume a lot of resources and disk space, so we recommend only allowing them temporarily. - Set the maximum size of the log file.
- (Optional) Click
next to the Log File field to change the default location of the log file. - In the Statistics section, select Display Statistics to allow clients to browse for the statistics points.
- Select Allow Subscribe Statistics to allow clients to obtain real-time values for the subscribed statistic points.
- In Statistics Polling Rate, set the frequency of refreshing the data, and then click Apply.
What's Next?